<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>transition复合写法</title>
  </head>
  <style>
    /* 
    transition过渡的复合写法：transition-property transition-duration transition-timing-function transition-delay
       1.transition-property选填
       2.transition-duration过渡时长（必填）
       3.transition-timing-function：
       4.transition-delay延时函数
     */
    .div {
      width: 100px;
      height: 100px;
      background-color: pink;
      margin: 100px auto;
      transition: transform 1s linear 0s;
    }

    .div:hover {
      transform: rotate(360deg);
    }
  </style>

  <body>
    <div class="div">div</div>
  </body>

</html>